package com.crazy.index.dao.record;

import java.util.List;

import com.crazy.index.domain.Record;

public interface RecordDao {
	/**
	 * 
	 * @param record
	 * @return
	 */
	public int addRecord(Record record);
	
	/**
	 * 
	 * @param record
	 * @return
	 */
	public List<Record>queryRecords(Integer UserId);
	
	
	/**
	 * 
	 * @param record
	 * @return
	 */
	public List<Record>querys(Record record);
	
	/**
	 * 
	 * @param id
	 */
	public void delete(Integer id);
}
